// xxx-high 高亮色  xxx-light 淡色
$blue: #00a2ff;
$bule-header: #00a2ff;
$bc: #e4e4e4;
$white: #fff;
$pagebg-color: #f0f1f5;
$black: #000;
$icon-graw: #666;
$font-graw: #666;
$black-light: #999;
$black-high: #ccc;
$black-bg: #eee;

//pie
$pie: #01b1a2;

//font-size 1rem = 23.4px
$font-size32: 1.39rem;
$font-size24: 1.04rem;
$font-size18: 0.78rem;
$font-size16: 0.69rem;
$font-size14: 0.60rem;
$font-size12: 0.52rem;

$border: 1px solid #e9eaec;

// 背景图片地址和大小
@mixin bis($url) {
  background-image: url($url);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

@mixin borderRadius($radius) {
  -webkit-border-radius: $radius;
  -moz-border-radius: $radius;
  -ms-border-radius: $radius;
  -o-border-radius: $radius;
  border-radius: $radius;
}

//定位全屏
@mixin allcover {
  position: absolute;
  top: 0;
  right: 0;
}

//定位上下左右居中
@mixin center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

//定位上下居中
@mixin ct {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

//定位到右边 上下居中
@mixin centerRight($right) {
  position: absolute;
  top: 50%;
  right: $right;
  transform: translateY(-50%);
}

//定位到左边 上下居中
@mixin centerLeft($left) {
  position: absolute;
  top: 50%;
  left: $left;
  transform: translateY(-50%);
}

//定位左右居中
@mixin cl {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

//宽高
@mixin wh($width, $height) {
  width: $width;
  height: $height;
}

//字体大小、行高、字体
@mixin font($size, $line-height, $family: 'Microsoft YaHei') {
  font: #{$size}/#{$line-height} $family;
}

//字体大小，颜色
@mixin sc($size, $color) {
  font-size: $size;
  color: $color;
}

//flex 布局和 子元素 对齐方式
@mixin fj($type: space-between) {
  display: flex;
  justify-content: $type;
}

//placehoder
@mixin placeholder($white) {
  ::-webkit-input-placeholder { /* WebKit browsers */
    color: $white;
  }
  :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: $white;
  }
  ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: $white;
  }
  :-ms-input-placeholder { /* Internet Explorer 10+ */
    color: $white;
  }
}

.form-group {
  height: 2.5rem;

  .error-box {
    color: red;
  }
}

.ivu-modal-confirm-body-icon-success {
  line-height: 2.4rem;
  i {
    font-size: $font-size32;
  }
}

.ivu-modal-confirm-body div p {
  font-size: $font-size14;
}

.ivu-modal-confirm-footer {
  margin-top: 1.5rem;
}

.ivu-modal-confirm-body {
  margin-top: 0.3rem;
  padding-left: 2rem;
  padding-top: 0.7rem;
  font-size: $font-size12;
}

.describe {
  overflow: hidden;
  height: inherit;
  margin-bottom: 1rem;
}

.ivu-icon-ios-more {
  font-size: $font-size24;
}

.icon-plus.ip {
  font-size: 2rem;
  color: $blue;
  @include centerRight(10px);
  z-index: 1;
  top: 80%;
  border-radius: 50%;
  text-shadow: 0px 3px 10px #909090;
}

.ivu-scroll-wrapper {
  background: $black-bg;
}
